package com.example.light.system.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.light.system.entity.permission;
import com.example.light.system.entity.rolePermission;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.HashSet;

@Mapper
@Repository
public interface RolePermissionMapper extends BaseMapper<rolePermission> {
    Integer batchInsertRolePermission(@Param("roleId") Integer roleId, @Param("permissionIdSet")HashSet permissionIdSet);
}
